@import (reference) "_.less";

//全局
*{
    .box-sizing;
    margin: 0;
    padding: 0;
}
body{
    background-color: #fff;
    color: @fa;
    // font: 14px/1.5 "Arial","Microsoft YaHei","黑体","宋体",sans-serif;
    -webkit-font-smoothing: antialiased;
}
//IE9+滚动条不占位不跳动自动隐藏
//滚动条不跳动IE9+
html {
  overflow-y: scroll;
}
:root {
  overflow-y: auto;
  overflow-x: hidden;//响应式强制隐藏横向溢出
}
:root body {
  position: absolute;
}
body {
  width: 100vw;
  overflow: hidden;
}
//标签reset
textarea{
    resize: vertical;
}
input,textarea,select{
    border: 1px solid #e5e6e7;
    &:focus{
        outline: 0;
    }
}
button{
    border: 0;
    outline: 0;
    &:disabled{
        cursor:not-allowed;
    }
}
pre{
    overflow: hidden;
}
//容器样式:tederen
.tederen-breadcrumb-title{
    font-size: 20px;
}
.tederen-breadcrumb-container{
    height: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e6e7;
}
.tederen-border-title{
    font-size: 16px;
    border-left: 3px solid @cb;
    padding-left: 5px;
    margin-bottom: 20px;
}
.tederen-input-group{
    margin-bottom: 20px;
}
.tederen-input-container{
    margin-right: 20px;
}
.tederen-input-container-right{
    float: right;
}
.tederen-line{
    .sline(0);
}
.page-container{
    height: 40px;
    line-height: 40px;
    text-align: right;
}
.text-group{
    width: 400px;
    margin: 0 auto;
    line-height: 30px;
    .left-title{
        line-height: 30px;
        vertical-align: top;
        display: inline-block;
        width: 70px;
        text-align: right;
    }
    .right-content{
        line-height: 30px;
        vertical-align: top;
        display: inline-block;
        width: 330px;
    }
}
//清除浮动
.clearfix {
    *zoom: 1;
}
.clearfix:before, .clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}
.clearfix:after {
    clear: both;
}

//table样式
// .table {
//     width: 100%;
//     background-color: #fff;
//     border:1px solid #ccc;
//     thead {
//         tr{
//             height: 40px;
//             background-color: #888;
//             color: #fff;
//             th{
//                 font-weight: lighter;
//             }
//         }
//     }
//     tbody {
//         tr{
//             height: 40px;
//             text-align: center;
//             td{
//                 button{
//                     background-color: rgba(0,0,0,0);
//                     margin: 0 8px;
//                     &:hover{
//                         color: @ca;
//                         text-decoration: underline;
//                     }
//                     &:disabled{
//                         text-decoration: none;
//                         cursor: not-allowed;
//                         color: #bbb;
//                     }
//                 }
//             }
//         }
//         tr:nth-child(even){
//             background-color: #f8f8f8;
//         }
//         tr:nth-child(odd){
//             background-color: #fff;
//         }
//         tr:hover{
//             cursor: pointer;
//             background-color: #e5e6e7;
//         }
//     }
// }

//媒体查询
/* 超小屏幕（手机，小于 768px）*/
@media (max-width: 767px) {
}
/* 小屏幕（平板，大于等于 768px） */
@media (min-width: 768px) and ( max-width: 992px) {
}
/* 中等屏幕（桌面显示器，大于等于 992px） */
@media (min-width: 992px) {
}
/* 大屏幕（大桌面显示器，大于等于 1200px） */
@media (min-width: 1200px) {
}

.router-enter {
  opacity: 0.01;
}

.router-enter.router-enter-active {
  opacity: 1;
  transition: opacity 300ms ease-in;
}

.router-leave {
  opacity: 1;
  display: none;
}

.router-leave.router-leave-active {
  opacity: 0.01;
  display: none;
  transition: opacity 100ms ease-in;
}